find_package(GTK2 REQUIRED gtk)
if (NOT GTK2_FOUND)
	find_package(BundleGtk2)
	link_directories(${GTK2_LIBRARY_DIRS})
endif()
# manually add /usr/include/gdk-pixbuf-2.0 to correctly compiled on Ubuntu
#include_directories(${GTK2_INCLUDE_DIRS} /usr/include/gdk-pixbuf-2.0)
include_directories(${GTK2_INCLUDE_DIRS})

add_executable(syncup-gui syncup-gui.c systray.c)
target_link_libraries(syncup-gui ${GTK2_LIBRARIES})
